/**
 * 设备类型枚举
 */
export const DeviceType = {
    UNKNOWN: 0, // 未知
    PHONE: 1,   // 手机
    TABLET: 2,  // 平板
    DESKTOP: 3, // 电脑
    TV: 4,      // TV电视机
    WEB: 5,     // Web浏览器
} as const;

export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];

export interface DeviceLoginInfo{
    id: number;
    deviceId: string;
    deviceName: string;
    deviceType: DeviceType;
    ipAddress: string;
    ipDescription: string;
    createTime: string;
    updateTime: string;
}

export interface DeviceLoginInfoUpdateDTO {
    deviceId: string;
    deviceName: string;
}